package com.aaa.ssm.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ fileName:Result
 * @ description:封装统一返回对象,方便开发
 * @ author:李江波
 * @ createTime:2023/3/25 9:12
 * @ version:1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<A> {
    //响应码
    private Integer code;
    //相应信息
    private String message;
    //返回对象 泛型，泛指任何类型
    private A data;
}
